import Layout from '@/layout/Index.vue';

export default {
    path: '/shanghuManager',
    name: 'shanghuManager',
    component: Layout,
    meta: {
        title: '商户',
        icon: '#el-icon-grid',
        // parentId: -1
    },
    children: [
        {
            path: '/adminYw',
            component: () => import('@/views/system/admin/AdminYwList.vue'),
            name: 'adminYw',
            meta: {
                title: '区域合伙人',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/ShopCard',
            component: () => import('@/views/shop/ShopCardList.vue'),
            name: 'ShopCard',
            meta: {
                title: '权益卡项',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/RetailShopList',
            component: () => import('@/views/shop/RetailShopTabs.vue'),
            name: 'RetailShopList',
            meta: {
                title: '商户管理',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/RetailShopDetail',
            component: () => import('@/views/shop/RetailShopDetail.vue'),
            name: 'RetailShopDetail',
            meta: {
                title: '商户详情',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/ShopCardLogList',
            component: () => import('@/views/shop/ShopCardLogList.vue'),
            name: 'ShopCardLogList.vue',
            meta: {
                title: '申请权益卡',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/RetailOrderList',
            component: () => import('@/views/order/RetailOrderList.vue'),
            name: 'RetailOrderList',
            meta: {
                title: '订单管理',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/RetailTeamAddSpList',
            component: () => import('@/views/team/RetailTeamAddSpList.vue'),
            name: 'RetailTeamAddSpList',
            meta: {
                title: '团队审核',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/SysAdminVerifyList',
            component: () => import('@/views/order/SysAdminVerifyTabs.vue'),
            name: 'SysAdminVerifyList',
            meta: {
                title: '用户核销',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/RetailAdminShopList',
            component: () => import('@/views/shop/RetailAdminShopList.vue'),
            name: 'RetailAdminShopList.vue',
            meta: {
                title: '商户审核',
                icon: '#el-icon-grid',
            }
        },
        {
            path: '/SysAdminApplyProxyList',
            component: () => import('@/views/proxy/SysAdminApplyProxyList.vue'),
            name: 'SysAdminApplyProxyList',
            meta: {
                title: '申请代理',
                icon: '#el-icon-document',
                roles: ['user:xiaohesun']
            }
        },
        {
            path: '/SysAdminProxyUpgradeList',
            component: () => import('@/views/proxy/SysAdminProxyUpgradeList.vue'),
            name: 'SysAdminProxyUpgradeList',
            meta: {
                title: '晋升代理',
                icon: '#el-icon-document',
                roles: ['user:xiaohesun']
            }
        },
        {
            path: '/AdminUpgradeConfigList',
            component: () => import('@/views/system/adminupgrade/AdminUpgradeConfigList.vue'),
            name: 'AdminUpgradeConfigList',
            meta: {
                title: '区域合伙人晋升配置',
                icon: '#el-icon-document',
                roles: ['user:xiaohesun']
            }
        },
    ]
}
